# Should work on most unixes
CFLAGS=-O3 -Wall -std=gnu99 -pedantic
CC=$(shell which gcc)

all: mop

mop: mop.h mop.c mop_run.c main.c
	$(CC) $(CFLAGS)  -o $@ $^
	$(CC) $(CFLAGS) -DNO_RECURSION -o $@_norecurse $^

clean:
	@\rm -f mop mop_norecurse

